package com.yunxi.model.sat;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author 
 * @since 2019-07-16
 */
@Data
@EqualsAndHashCode(callSuper = false)

@TableName("pms_sat_mess")
@ApiModel(value="SatMess对象", description="")
public class SatMess implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "MESS_ID", type = IdType.UUID)
    private String messId;

    @ApiModelProperty(value = "标题")
    @TableField("TITTLE")
    private String tittle;

    @ApiModelProperty(value = "类型(Sat_MessType,1线索分配,2申请试驾,3订单创建,4战败申请,5交车,21试驾,22试驾成功,23试驾评价,31订单取消,32撤销订单取消,41销售经理战败审批,42销售经理战败分配,43总经理同意战败,44总经理战败驳回,51交车成功,52交车评价)")
    @TableField("TYPE")
    private String type;

    @ApiModelProperty(value = "内容")
    @TableField("INFO")
    private String info;

    @ApiModelProperty(value = "创建时间")
    @TableField(value = "CREATE_TIME",fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty(value = "修改时间")
    @TableField(value = "UPDATE_TIME",fill = FieldFill.UPDATE)
    private Date updateTime;

    @ApiModelProperty(value = "副标题")
    @TableField("SUBTITTLE")
    private String subtittle;

    @ApiModelProperty(value = "创建人")
    @TableField(value = "CREATE_BY",fill = FieldFill.INSERT)
    private String createBy;

    @ApiModelProperty(value = "更新人")
    @TableField(value = "UPDATE_BY",fill = FieldFill.UPDATE)
    private String updateBy;

    @ApiModelProperty(value = "是否已读(1是,0否)")
    @TableField("IS_READ")
    private Integer isRead;

    @ApiModelProperty(value = "客户姓名")
    @TableField("CUSTOMER_NAME")
    private String customerName;

    @ApiModelProperty(value = "销售顾问编号")
    @TableField("SALES_CONSULTANT_NO")
    private String salesConsultantNo;

    @ApiModelProperty(value = "客户编号")
    @TableField("CUSTOMER_NO")
    private String customerNo;

    @ApiModelProperty(value = "操作人员角色代码")
    @TableField("OPERA_ROLE_CODE")
    private String operaRoleCode;

    @ApiModelProperty(value = "接收人员角色代码")
    @TableField("RECEIVE_ROLE_CODE")
    private String receiveRoleCode;

    @ApiModelProperty(value = "业务订单编号")
    @TableField("BUSINESS_KEY")
    private String businessKey;


}
